package com.whmnx.base.bean;

import java.security.PublicKey;

/**
 * author : huang
 * date   : 2020/9/18 0018 14:28
 * version: 1.0
 */
public class LoginBean {
    /**
     * token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiM2VhODczOS0zM2RiLTQ5NjktOTU0NS01ODE5YzU4MDg4ZDEiLCJVc2VySWQiOiIzZTdjYTEwYS1lNDQxLTQwOGQtOGU5My04ODFmN2ZiYzQ3NDEiLCJVc2VyTmFtZSI6IiIsIlJvbGVJZCI6IiIsIklzQWRtaW4iOiIwIiwiUGhvbmUiOiIxNTAwNzIwMTg1MSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiIxNTAwNzIwMTg1MSIsIm5iZiI6MTYwMDQxMDMzNywiZXhwIjoxNjAwNDk2NzM3LCJpc3MiOiJtYWludW9zb2Z0LWNoZW5nIiwiYXVkIjoiRDNCMjU0RkYtMEI4Ni00Q0RDLTg1MEUtMUFFNzBFMDFDM0Y4In0.htgc_lAQf4B-pYBWrYxnT0Ae61bfGRV6eDp4QDamm50
     * type : Bearer
     * auth_time : 2020-09-18 14:25:37
     * expires_at : 2020-09-19 14:25:37
     * user : null
     * appuser : {"userId":"3e7ca10a-e441-408d-8e93-881f7fbc4741","name":null,"phone":"15007201851","avatar":"http://127.0.0.1:8001/Resource/HeadImage/default.jpg"}
     * menu : null
     */

    private String token;
    private String type;
    private String auth_time;
    public String Bean;
    public String AveragePrice;
    public String Poundage;
    private String expires_at;
    private Object user;
    private AppuserBean appuser;
    private Object menu;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAuth_time() {
        return auth_time;
    }

    public void setAuth_time(String auth_time) {
        this.auth_time = auth_time;
    }

    public String getExpires_at() {
        return expires_at;
    }

    public void setExpires_at(String expires_at) {
        this.expires_at = expires_at;
    }

    public Object getUser() {
        return user;
    }

    public void setUser(Object user) {
        this.user = user;
    }

    public AppuserBean getAppuser() {
        return appuser;
    }

    public void setAppuser(AppuserBean appuser) {
        this.appuser = appuser;
    }

    public Object getMenu() {
        return menu;
    }

    public void setMenu(Object menu) {
        this.menu = menu;
    }

    public static class AppuserBean {
        /**
         * userId : 3e7ca10a-e441-408d-8e93-881f7fbc4741
         * name : null
         * phone : 15007201851
         * avatar : http://127.0.0.1:8001/Resource/HeadImage/default.jpg
         */

        private String userId;
        private String name;
        private String phone;
        private String avatar;

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }
}
